package com.shyroke.mapper;

import org.apache.ibatis.annotations.Param;

import com.shyroke.entity.Users;

public interface UsersMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Users record);

    int insertSelective(Users record);

    Users selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Users record);

    int updateByPrimaryKey(Users record);

	Users isUserExit(@Param("user")Users user);

	Users selectByUserName(@Param("username")String username);
}